package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("counter_id")
public class CmfzCounter implements Serializable {
    /*CREATE TABLE `cmfz_counter` (
  `counter_id` int(100) NOT NULL AUTO_INCREMENT,
  `counter_name` varchar(100) DEFAULT NULL,
  `counter_date` datetime DEFAULT NULL,
  `lesson_id` varchar(100) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `counter_count` int(11) DEFAULT NULL,
  `counter_status` int(10) DEFAULT NULL,
  PRIMARY KEY (`counter_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;*/
    @TableId(value = "counter_id",type = IdType.AUTO)
    private Integer counterId;
    private String counterName;
    private Date counterDate;
    private String lessonId;
    private Integer userId;
    private Integer counterCount;
    private Integer counterStatus;
}
